<div class="page">
	<div class="layoutBox">
	
	<form method="post" action="__URL__/insert/navTabId/__MODULE__" class="pageForm required-validate" enctype="multipart/form-data" onsubmit="return iframeCallback(this, navTabAjaxDone);">
		<input type="hidden" name="adder_id" value="<?php echo $_SESSION[C('USER_AUTH_KEY')] ?>"/>
		<input type="hidden" name="add_time" value="<?php echo time() ?>"/>
		<input type="hidden" name="update_time" value="<?php echo time() ?>"/>
		<div class="pageFormContent" layoutH="100">

			<div class="unit">
				<label>测试标题：</label>
				<input type="text" class="required" size="40" maxlength="120" name="biaoti"/>
			</div>
			<div class="unit">
				<label>所属分类：</label>
                <input type="text" class="required" size="40" readonly="readonly" id="categoryName_add_test" name="categoryName" value="{$Think.get.tid|getCategoryName}" />
                <a class="unit btn" href="__APP__/Ui/tree/mod/__MODULE__/selparent/0/selmore/1/cid/tid_add_test/cname/categoryName_add_test" target="dialog" rel="tree" mask="true" title="选择分类" width="400" height="450">选择分类</a>
                <input type="hidden" id="tid_add_test" name="tid" value="{$Think.get.tid}" />
			</div>
			<div class="unit">
				<label>关键字：</label>
				<input type="text" name="keywords" size="40"/>
			</div>
			<div class="unit">
				<label>描述：</label>
				<input type="text" name="description" size="40"/>
			</div>
			<div class="unit">
				<label>预览图片：</label>
				<input type="file" name="img">
			</div>
			<div class="unit">
				<label>外部预览图片：</label>
				<input type="text" name="imgurl" size="40" id="imgurl" value="">
			</div>            
			<div class="unit">
				<label>状态：</label>
				<select name="status">
					<option value="1">启用</option>
					<option value="0">禁用</option>
				</select>
			</div>
			<div class="unit">
				<label>排序值：</label>
				<input type="text" name="sort" size="40"/>
			</div>
			<div class="unit">
				<label>URL重写值：</label>
				<input type="text" name="rewrite" size="40"/>
			</div>
			<div class="unit">
				<label>使用模板：</label>
				<input type="text" name="template" id="template" size="40" value=""/>
                <a href="__APP__/Ui/seltpl/tplname/template" class="unit btn" target="dialog" rel="btn_tpl" mask="true" title="选择模板" width="600" height="800">选择模板</a>
                <span>格式如：</span>
                <select>
                <option>直接选择模板</option>
                <option>index2.html</option>
                <option>index2.php</option>
                <option>index2</option>
                <option>Public:abc</option>
                </select>
			</div>					
			<div class="unit">
				<label>内容：</label>
				<textarea class="editor" name="content" height="350" tools="full" pagetag upLinkUrl="__APP__/test/upload/" upImgUrl="__APP__/test/upload/" upFlashUrl="__APP__/test/upload/" upMediaUrl="__APP__/test/upload/"></textarea>
			</div>
			
			<div class="unit">
				<label>软件名称：</label>
				<input type="text" name="rjmc" size="40" value="" class="required">
			</div>
			<div class="unit">
				<label>软件版本：</label>
				<ul><?php echo PrintRadio('1:v1.0,2:v2.0', 'rjbb', '', '') ?></ul>
			</div>
			<div class="unit">
				<label>上传下载地址：</label>
				<input type="file" name="rjxzdz" />
			</div>
			<div class="unit">
				<label>外部下载地址：</label>
				<input type="text" name="rjxzdzurl" size="40" value="" class="url">
			</div>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
	</div>
</div>


